package com.mrd.gtimp.business.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by lenovo on 2017/6/27.
 */

/**
 * 业务编号模版表
 */
@Entity(name = "t_biz_business_key")
public class BusinessKey {

    /**
     * 业务编号日期
     */
    @Id
    @Column(name = "BUSINESS_DATE")
    private Date businessDate;
    /**
     * 业务编号前缀
     */
    @Column(name = "BUSINESS_PREFIX")
    private String businessPrefix;
    /**
     * 业务编号后缀格式
     */
    @Column(name = "BUSINESS_POSTFIX_EXPRESSION")
    private String businessPostfixExpression;
    /**
     * 数量
     */
    @Column(name = "BUSINESS_COUNT")
    private Integer businessCount;
    /**
     * 版本号
     */
    @Column(name = "BUSINESS_VERSION")
    private Long businessVersion;

    public Date getBusinessDate() {
        return businessDate;
    }

    public void setBusinessDate(Date businessDate) {
        this.businessDate = businessDate;
    }

    public String getBusinessPrefix() {
        return businessPrefix;
    }

    public void setBusinessPrefix(String businessPrefix) {
        this.businessPrefix = businessPrefix;
    }

    public String getBusinessPostfixExpression() {
        return businessPostfixExpression;
    }

    public void setBusinessPostfixExpression(String businessPostfixExpression) {
        this.businessPostfixExpression = businessPostfixExpression;
    }

    public Integer getBusinessCount() {
        return businessCount;
    }

    public void setBusinessCount(Integer businessCount) {
        this.businessCount = businessCount;
    }

    public Long getBusinessVersion() {
        return businessVersion;
    }

    public void setBusinessVersion(Long businessVersion) {
        this.businessVersion = businessVersion;
    }
}
